<template>
  <div class="nav-bar">
    <div class="left"><slot name="left"></slot></div>
    <div class="middle"><slot name="middle"></slot></div>
    <div class="right"><slot name="right"></slot></div>
  </div>
</template>

<script>
export default {
name: "NavBar"
}
</script>

<style scoped>
.nav-bar {
  display: flex;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background-color: lightpink;
  color: white;
  font-weight: 800;
  box-shadow: 0 2px 2px rgba(100, 100, 100, .2);
}

.left {
  width: 60px;
  /*background-color: skyblue;*/
}

.middle {
  flex: 1;
}

.right {
  width: 60px;
  /*background-color: skyblue;*/
}
</style>